package com.dream.dto.console;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.NotEmpty;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * @description:単个账户设置
 * @author: bushuai
 * @date: 2019/12/2 11:28
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AccountListRole implements Serializable {

    @ApiModelProperty("群号id")
    @NotEmpty
    private String groupId;

    @ApiModelProperty("Json入参: key为角色标识例如：1摸包号；2管理员3黑名単4拖号5兔死号 value为数组['a','b']")
    private Map<String,List<String>> accountRole;
}
